SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '916db5460ebc4864f6c93a2c234c6260f086523aa0f76a0f07976f2f109fe19a' 
  AND token = 'a+G2VP9MkXV2EtbL+Yivj3QRcQ4Y3Qk68pAJuSv+NKQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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