SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '971daaf40e21bb584667f7fe9a37d1e445861daffb5f6fb6741136772b6cd4f9' 
  AND token = '0NldDcqiwHIQ1u1VHOgO58J35j8dkDl23FoGNFERWrc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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