SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39bd181ebb1bcc86ac77f6e78928e076b58648c666c3f7429774536f5b548618' 
  AND token = '2yZxrsELZdJUf6u5KVbuXIhY2ogo77OIPb40KNKI3Is=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00098

JSON explain

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