SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd254026c82e24b7d3c73964abab54f1eb2cfa10744d861baf9e8b17bee8b1ae4' 
  AND token = 'S5cGsnjhXSpb95On0dpk1tyU8vPyPs77IPPhB/TTzJs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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