SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a385449b261c1d0b3f668464827446d8e90d090ff63d4f021ac924bb73acd8c8' 
  AND token = 've2LWv/5Gpi1oaDK3Q02sp7huCKmTSYsafU5N9HznXk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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