SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c0a7293bf3b59fd3c8cb276e43ba87d6fdef92b0f7ea36f0283a999f158dec6' 
  AND token = 'Z2ik0+heH/OTI21pQhIQrGCvbtx/ryDjJUh/Yl0uSmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}