SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '514b795446a728bed3c1cf48db6d0a353fa9d171da91b1ff9a7bacf5dd9b6f19' 
  AND token = 'mPeVwiapCr1eQjStDFCoxN2AjPWar7/V4Cdg/PyP1mM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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