SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '779aec87c953200a3c8e3edbce253070d1936bfa80b518c20a887419eede49b4' 
  AND token = '/scy327v1Qi2u0qyK4pTB4uPpF96IS+rvHhb7hLE+xs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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