SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8bccd55fec2fa5e8e52837ff2b6b5c6ae54f9b64798d736d428614ccab6e4dbf' 
  AND token = '4Y5OVPfdfOq5a1ZneA7bkcQePOo48769RkZgUSjVzb8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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