SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1371716a93ae79d3a4a525f1b58b8a1d9fbc79e5a7c2c30f964f8c791a4b01e9' 
  AND token = '8XS4Q8Mygi5S+/bdrcZ+37Cpzt6V2sXeE/8CDCC3P1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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