SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '827a50e4db67fc42088833b82b818f782d4a617b2030ebed6b4faf3a9df1d4a3' 
  AND token = '7XOrbtiGfB61bek0GrETizOvtvQyN5MWjDFVsxKV378=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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