SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7157cd71e54a4cc5c979b44c92efcbcc34b9cea7be8ff18ce1bb1fb313edcdc7' 
  AND token = 'cB9BmEeosPi1htF2/ey1YYzy18Jrf+k1yHjEiAg2dCc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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