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

Query time 0.00028

JSON explain

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