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

Query time 0.00017

JSON explain

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