SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef1156074e74679e089c39d9d2447b1d815c4c1d6dbaa46e6fc1589efac27c5b' 
  AND token = '1wXpSHs6F0YiXmHcqRf7rqMnanqzyPwQgZbC+xlm7+Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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