SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '188b1711059e788ef5e4e52129920305ccfbc7afb6afbc3f0628817eeecae044' 
  AND token = 'ggH8Ac6pQ/EHrWwPrkpn/pIr2wpM2eYJYgo6196y8Io=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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