SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff71f7e5a287a5cc33edcbf7193d6267dda9b3617b40c357b4be196ea51fc74d' 
  AND token = '3wJg4xxIxdlDTFpTIlJK3/3jojbwBAr4aRJ8aPcxmDs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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