SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fed7279c77dab6e7d5508471aeb411782cc933ac0d666c0ece8bf2bb6bf4e496' 
  AND token = 'iGUFIeBCjLUECHRzaPpbJG16e8pJl/YzDoPLQ0UdIR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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