SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4bac99e825ac71dc2a6ef259a3b316447c285eca9d437520bc865b1e647234c3' 
  AND token = '6SZ8Ebpb5GDUAMHM5qMuAn9YQSjenQHOU//8MoMCV4s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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