SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd0d697d461630f8752c999918e10ea472e661f3516ca190a25d58cc4d524eec' 
  AND token = 'aCwH5fqvQhdFl10NOR8y33KYCSlUCxykpgjk/R0KdmM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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