SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9179dd193be7542a82c385973da4e175490fd2475161b616ea2962f65cf58daf' 
  AND token = '+OploNTHRTlW8o9M23xYae7ZkEwt3yloET7N2CaOpMY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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