SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd993942de6c85a2e515bd095f1e5f091d509cdf639deb165128d281e6228e340' 
  AND token = 'k+sVk2MsUGsfaIzKBdD1R5opV//SUYBmDfdY8SqJ+4s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}