SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6054767e22f0967de9a9937a023732a6af84dc9355ea906144e4d72efa22316' 
  AND token = 'i4FnS6Blt2vFkEM4DT8rImjWLQ7OCC1P3vNm1wW1yqo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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