SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4b9a5a3e6bd9018c237f991681d2fdc78d029504f0957f68fd28df544dc4cfd' 
  AND token = 'cy5rx1OVvsbpi0zmSOexcJJK3LKHbjDlQR7o7fFi7vI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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