SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '271ca18b1c81fd8116a1d0ab5ab68e54d863f5aa3dcc2dbcee26836930fb135a' 
  AND token = 'a8WdiMCIJ8kxa2lJaUPSK3q7CJBv2ZFHWhF3lVviD7o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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