SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2439e177faddd948132d7c74e0871030f5f49fe05be9d5f92664ddc4b51c3674' 
  AND token = '9dxLZhyc7tYIrg0mtz5lntBONDs5/Vc8O1pA9Ov7YBA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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