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

Query time 0.00029

JSON explain

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