SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c1245eb8a3aaa36b7dacd905aa4c40657c42007b54eda17a72acfd47d731743' 
  AND token = 'UmBOKpmWkBs4peglINfGx8/Pa7l4uAOpkEJQTea6d00=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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