SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f24321c48c9c6286919c2de2a18ff34ee6b49fab9caeb699d39d7dde1402b45' 
  AND token = '4Tz/BDT7Bnl1DU6Ocmt0V5NNIOLHSNbQVVFStNqZess=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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