SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20278549140b7b0739968536d7557a1338e318064c4709ffd7790499be25c3b2' 
  AND token = '8yGMr79opDEUy8VlyqYzYgkKkSWDe68l0e8/AmigQQY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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