SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c45ccfe6cfefefccda161211a2634c9f6001b99d8908d45e42e0349387984f15' 
  AND token = '/LGx0S/5Sh/Bmfez65CmAQBYFxnky5AODA6ElJDu8mo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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