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

Query time 0.00015

JSON explain

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