SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f38ddf213d3d2e51c3446771d908ed16733f1b8d7cc9e8c9f02efcc085ca0bc3' 
  AND token = '1oTqDyboffoTqmY9XcZ1/LWkhUGktpsxm/jKP/ukmi4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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